<!DOCTYPE html>
<html class="site-demo-overflow">
<head>
	<meta charset="utf-8">
	<title>{$meta_title}</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="__STATIC__/common/libs/layui-master/dist/css/layui.css" media="all">
	<link rel="stylesheet" href="__STATIC__/common/libs/font/iconfont.css?v={$Think.const.ZENGCMS_VERSION}">
	<script src="__STATIC__/common/js/jquery-1.11.3.min.js"></script>
	<script src="__STATIC__/common/libs/layer/layer.js"></script>
	<script src="__STATIC__/common/libs/layui-master/dist/layui.js" charset="utf-8"></script>
	<link rel="stylesheet" href="__STATIC__/common/libs/layuimini/lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
	<!-- 阿里巴巴矢量图标引入方式一： -->
	<link rel="stylesheet" href="__STATIC__/common/libs/iconfont/iconfont.css">
	<!-- 第二步：挑选相应图标并获取类名，应用于页面： -->
	<!-- <span class="iconfont iconxxx"></span> -->
	<!-- 阿里巴巴矢量图标引入方式二： -->
	<script src="__STATIC__/common/libs/iconfont/iconfont.js"></script>
	<script type="text/javascript">
        // 全局变量
        var GV = {
			// 获取城市
			"ajax_get_city":"{:url('admin/Base/ajaxGetCity')}",
			// 根据省获取城市
			"get_city":"{:url('admin/Base/get_city')}",
			// 静态url
			"static_url":"__STATIC__",
			// 图片裁剪
			"crop_url":"{:url('admin/Attachment/crop')}",
			// 删除地址
			"delete_url":"{:url('admin/Attachment/del',['action'=>'delimg'])}",
			// 获取联动地址
			'select_get_step_url':"{:url('cms.Select/getStep')}",
			// kindeditor上传地址
			// "kindeditor_upload_url":"__STATIC__/common/libs/kindeditor/php/upload_json.php",
			"kindeditor_upload_url":"{:url('admin/Upload/upload', ['from'=>'kindeditor', 'module' => app('http')->getName(), 'action'=>'upload'])}",
			// kindeditor图片管理空间
			"kindeditor_file_manager_url":"{:url('admin/Upload/upload', ['from'=>'kindeditor', 'module' => app('http')->getName(), 'action'=>'manager'])}",
			// kindeditor图片删除地址
			"kindeditor_image_del_url":"{:url('admin/Attachment/del',['action'=>'kindeditor_image_del'])}",
			"editormd_path_url":"__STATIC__/common/libs/editormd/lib/",
			"editormd_upload_url":"{:url('admin/Upload/upload', ['dir' => 'images','from'=>'editormd','module' => app('http')->getName()])}",
			// 注意以下
			"image_upload_url":"{:url('admin/Upload/upload', ['dir' => 'images', 'module' => app('http')->getName()])}",
			"file_upload_url":"{:url('admin/Upload/upload', ['dir' => 'files', 'module' => app('http')->getName()])}",
			"jcrop_upload_url":"{:url('admin/Attachment/cropper')}",
			"WebUploader_swf":"__STATIC__/common/libs/layui_exts/ueditor/third-party/webuploader/Uploader.swf",
			"ueditor_upload_url":"{:url('admin/Upload/upload', ['dir' => 'images','from'=>'ueditor', 'module' => app('http')->getName()])}",
			"ueditor_grabimg_url":"{:url('admin/Attachment/geturlfile')}",
			"image_select_url":"{:url('admin/Attachment/select')}",
			"filter_word_url":"{:url('admin/Common/filterWord')}",
        };
    </script>
	{block name="link"}
	<link rel="stylesheet" href="__STATIC__/admin/css/setting.css" media="all">
	<!-- kindeditor编辑器 start-->
	<link rel="stylesheet" href="__STATIC__/common/libs/kindeditor/themes/default/default.css" />
	<link rel="stylesheet" href="__STATIC__/common/libs/kindeditor/plugins/code/prettify.css" />
	<script charset="utf-8" src="__STATIC__/common/libs/kindeditor/kindeditor-all.js"></script>
	<script charset="utf-8" src="__STATIC__/common/libs/kindeditor/lang/zh-CN.js"></script>
	<script charset="utf-8" src="__STATIC__/common/libs/kindeditor/plugins/code/prettify.js"></script>
	<!-- kindeditor编辑器 end-->
	<!-- editormd编辑器 start-->
	<link rel="stylesheet" href="__STATIC__/common/libs/editormd/css/editormd.min.css">
	<script type="text/javascript" src="__STATIC__/common/libs/editormd/editormd.min.js"></script>
	<!-- editormd编辑器 end-->
	<!-- 百度地图 start -->
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak={:sys_config('SYS_BDMAP_API')}"></script>
	<!-- 百度地图 end -->
	{/block}
	<link rel="stylesheet" href="__STATIC__/admin/css/common.css" media="all">
	<style>
		/* 阿里巴巴矢量图标引入方式二：*/
		/* 第二步：加入通用 CSS 代码（引入一次就行）： */
		.my-icon {
			width: 1em; height: 1em;
			vertical-align: -0.15em;
			fill: currentColor;
			overflow: hidden;
			font-size:30px;
		}
		/* 第三步：挑选相应图标并获取类名，应用于页面： */
		/* <svg class="my-icon" aria-hidden="true">
			<use xlink:href="#icon-xxx"></use>
		</svg> */
	</style>
	{block name="css"}
	<style></style>
	{/block}
</head>
<body>
<!-- 主体 开始 -->
<div class="layui-layout layui-layout-admin">
	<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
	<!--[if lt IE 9]>
	<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
	<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<!-- 右侧内容 开始 -->
	{block name="content"}
	<!-- content -->
	{/block}
	<!-- 右侧内容 结束 -->
	<!-- 底部 开始 -->
	<!-- 第一种方法 -->
	{/* include file="layouts/footer" */}
	<!-- 第二种方法 -->
	{block name="footer"}
	<div class="layui-footer footer" style="left:0px;text-align: center;">
		<p>© Powered by ZengCMS v{$Think.const.ZENGCMS_VERSION}</p>
	</div>
	{/block}
	<!-- 底部 结束 -->
	<!-- <script src="__STATIC__/common/libs/layuimini/js/lay-config.js?v=2.0.0" charset="utf-8"></script> -->
	<script type="text/javascript">
		layui.config({
			// base: rootPath + "lay-module/",
			// version: true
			base: '__STATIC__/common/libs/layui_exts/',
			version: '{$Think.const.ZENGCMS_VERSION}',
		});
		layui.extend({
			// layuimii 内置开始
			miniAdmin: "lay-module/layuimini/miniAdmin", // layuimini后台扩展
			miniMenu: "lay-module/layuimini/miniMenu", // layuimini菜单扩展
			miniTab: "lay-module/layuimini/miniTab", // layuimini tab扩展
			miniTheme: "lay-module/layuimini/miniTheme", // layuimini 主题扩展
			miniTongji: "lay-module/layuimini/miniTongji", // layuimini 统计扩展
			step: 'lay-module/step-lay/step', // 分步表单扩展
			treetable: 'lay-module/treetable-lay/treetable', //table树形扩展
			tableSelect: 'lay-module/tableSelect/tableSelect', // table选择扩展
			iconPickerFa: 'lay-module/iconPicker/iconPickerFa', // fa图标选择扩展
			echarts: 'lay-module/echarts/echarts', // echarts图表扩展
			echartsTheme: 'lay-module/echarts/echartsTheme', // echarts图表主题扩展
			wangEditor: 'lay-module/wangEditor/wangEditor', // wangEditor富文本扩展
			layarea: 'lay-module/layarea/layarea', //  省市县区三级联动下拉选择器
			// layuimii 内置结束
		});
		layui.use(['layer','jquery','miniTab'], function () {
			var $ = layui.jquery,
			layer = layui.layer,
			miniTab = layui.miniTab;
			miniTab.listen();
		});
	</script>
	{block name="layui"}
		{include file='layouts/layui' /}
	{/block}
	<script type="text/javascript">
		layui.use(['zengForm'], function() {
			// var zengForm = layui.zengForm;
			// zengForm.method1(1,2);
		});
	</script>
	<!-- 图片拖动 开始 -->
	<script src="__STATIC__/common/libs/jquerydrag/js/jquery-ui-1.11.0.js"></script>
	<!-- 图片拖动 结束 -->
	<script src="__STATIC__/common/js/common.js"></script>
	<!-- 滚动js 开始 -->
	{block name="scroll"}
	<script type="text/javascript">
		layui.use(['layer','jquery','util'], function () {
			var $ = layui.jquery,
			layer = layui.layer,
			util = layui.util;
			// 固定Bar
			util.fixbar({
				bar2: '&#xe625;'
				, css: { right: 15, bottom: 35}
				, bgcolor: '#009688 !important;display:block;'
				,showHeight:100
				, click: function (type) {
					if (type === 'top') {
						$('.layui-body').animate({ //主要代码
							scrollTop: 0
						}, 200);
					}else{
						$('.layui-body').animate({ //主要代码
							scrollTop: 1000000000
						}, 200);
					}
				}
			});
		});
	</script>
	{/block}
	<!-- 滚动js 结束 -->
	{block name="js"}
	<!-- js -->
	{/block}
</div>
<!-- 主体 结束 -->
</body>
</html>